package com.weimin.model;

import java.net.InetAddress;

public class ClientInfoModel {
    /**
     * 公网IP
     */
    private InetAddress publicIp;
    /**
     * 公网端口
     */
    private int publicPort;

    public ClientInfoModel(InetAddress publicIp, int publicPort) {
        this.publicIp = publicIp;
        this.publicPort = publicPort;
    }

    public InetAddress getPublicIp() {
        return publicIp;
    }

    public void setPublicIp(InetAddress publicIp) {
        this.publicIp = publicIp;
    }

    public int getPublicPort() {
        return publicPort;
    }

    public void setPublicPort(int publicPort) {
        this.publicPort = publicPort;
    }
}
